﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BaseSet.Data;
using BaseSet.Logic;
using BaseSet.Entity;
using BaseSet.Framework;
using BaseSet.Entity.Common;
using BaseSet.Entity.Common.Text;
using BaseSet;
using System.Data;

namespace WebSite.Blogs
{
    public partial class AuditBlogOtherEditDetail : System.Web.UI.Page
    {
        private string id = "";
        private string blogid = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            id = Request.QueryString["id"] + "";
            blogid = Request.QueryString["blogid"] + "";
            if (!Page.IsPostBack)
            {
                LoadContent();
            }
        }

        #region 加载内容
        private void LoadContent()
        {
            BlogOtherEdit boeinfo = new BlogOtherEdit();
            BlogOtherEditHelper boehelper = new BlogOtherEditHelper();
            boeinfo = boehelper.GetBlogOtherEdit(id);

            lblTitle.Text = boeinfo.Title;
            lblKeyWord.Text = boeinfo.KeyWord;
            lblBlogContent.Text = boeinfo.BlogContent;
        }
        #endregion

        #region 返回
        protected void btnCancel_Click(object sender, EventArgs e)
        {
            Response.Redirect("AuditBlogOtherEdit.aspx?id="+blogid);
        }
        #endregion
    }
}